package com.naire.modul.answer.service;

import net.common.service.GeneralService;
import com.naire.modul.answer.dao.AnswerDao;
import com.naire.modul.answer.dao.impl.AnswerDaoImpl;
import com.naire.modul.answer.vo.AnswerVo;

/**
 * 
 * 
 * @author Administrator
 * 
 */
public class AnswerFindService extends GeneralService {

	private AnswerVo bean;
	private Integer id;

	@Override
	public void execute() throws Exception {
		AnswerDao dao = new AnswerDaoImpl();
		bean = dao.find(id);
	}

	public AnswerVo getBean() {
		return bean;
	}

	public void setId(Integer id) {
		this.id = id;
	}

}
